package com.xijing.service;

import java.util.List;

import com.xijing.dao.RoomTypeDAO;
import com.xijing.model.RoomType;

public class RoomTypeService {
	private RoomTypeDAO DAO =new RoomTypeDAO();
	
	public List<RoomType> getRoomTypeList(String KeyStr) {
		return DAO.getRoomTypeList(KeyStr);
	}
	
	public int insertRoomType(RoomType Room) {
		return DAO.insertRoomType(Room);
	}
	
	public RoomType getRoomType(String ID) {
		return DAO.getRoomType(ID);
	}
	
	public int updateRoomType(RoomType Room) {
		return DAO.updateRoomType(Room);
	}
}
